﻿using Mt.Site.Application.Localization.Dto;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Mt.Site.Application.Localization
{
    public interface ILanguageFrontEndAppService : IFrontEndAppService
    {
        /// <summary>
        /// 获取本页面在各分站各语种中对应的链接
        /// </summary>
        /// <returns></returns>
        Task<IReadOnlyList<LanguageDto>> GetLanguages(GetLanguagesInput input);

        /// <summary>
        /// 获取当前页面的链接
        /// </summary>
        /// <returns></returns>
        Task<LanguageDto> GetCurrentLanguage();
    }
}
